package com.tarena.lbs.activity.service;


import com.tarena.lbs.activity.api.pojo.ActivityDto;
import com.tarena.lbs.activity.pojo.param.ActivityAddParam;
import com.tarena.lbs.activity.pojo.query.ActivityQuery;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;

public interface ActivityService {

    ActivityVO activityDetail(Integer id);

    PageResult<ActivityVO> pageList(ActivityQuery query);

    int activitySave(ActivityAddParam param) throws BusinessException;

    int updateActivityStatus(Integer id, Integer status);

    Boolean activityVisible(Integer userId, Integer activityId);

    ActivityDto getActivityById(Integer activityId);

}
